const express = require('express');
const router = express.Router();

router.get('/', (req, res) => {
    const content = [];
    for(let i = 0; i < 20; i++) content.push({
        num: i,
        dealerCode: 'string',
        country: 'string',
        submitData: '2020-06-18T06:28:05.177Z',
        direction: 1,
        adjustmentFee: 1,
        sourceType: 1,
        remark: 'string',
        submitTime: '2020-06-18T06:28:05.177Z',
        code: 'string'
    });
    res.json({
        message: 'ok',
        payload: {
            content,
            totalElements: 20,
        }
    });
});

module.exports = router;
